
<template>
  <div class="user">
      <div class="title">
        CINV规范管理平台
      </div>
      <img class="img" src="@/assets/img/type2.png" alt="" @click="toPath('/login?userType=1')">
      <div class="type">
        <img  class="icon" src="@/assets/img/icon.png" alt="">我是患者
      </div>
      <img class="img" style="margin-top:20px" src="@/assets/img/type1.png" alt="" @click="toPath('/login?userType=2')">
        <div class="type">
        <img class="icon" src="@/assets/img/icon.png" alt="">我是医生/护士/药师
      </div>
      <div class="keep-on-record">
       <span>
          <a target="_blank" style="color: #FFF" href="https://beian.miit.gov.cn/#/Integrated/index">琼ICP备2021005572号</a>
       </span>
       <br>
       <span class="a" >
         <a target="_blank" style="color: #bbb" href="http://www.beian.gov.cn/portal/recordQuery?token">琼公网安备 46010602001096号 备案号</a>
       </span>
      </div>
  </div>
</template>
<script>
export default {
  data () {
    return {

    }
  },
  methods: {
    toPath (url) {
      this.$router.push(url)
    }
  }
}
</script>
<style scoped lang='less'>
.user{
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg, #3EB3FF 0%, #436EFF 100%);
  opacity: 1;
  overflow: hidden;
  .title{
    width:80%;
    height: 62px;
    line-height: 62px;
    color: #4182FF;
    font-size: 25px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    background-color: #fff;
    margin: 50px auto;
    margin-top: 20px;
    box-sizing: border-box;
  }
  img{
    display: block;
    width: 157px;
    height: 157px;
    margin: 0 auto;
  }
  .type{
    margin-top: 20px;
    text-align: center;
    .icon{
      display: inline-block;
      width: 19px;
      height: 22px;
      margin-right: 8px;
      vertical-align: middle;
    }
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
  }
}
.keep-on-record {
  position: fixed;
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  font-size: 12px;
  text-align: center;
  a {
    text-decoration: none;
  }
  .a {
    display: block;
    padding-top: 5px;
  }
}

</style>
